package com.mohe.shanpao.service.user;

import java.util.List;

import com.mohe.shanpao.domain.user.SysRoleFunction;
import com.mohe.shanpao.service.GenericService;

public interface SysRoleFunctionService extends GenericService<SysRoleFunction>
{
    /**
     * 根据id获取对象
     */
    SysRoleFunction selectById(Long id);
    
    /**
     * 根据角色id查询角色的菜单，对菜单去重复
     * @param roleId
     * @return
     */
    List<SysRoleFunction> selectByMenu(Long roleId);
    
}